package com.gouda.core.entity;

import lombok.Data;
import org.amethyst.atlas.basic.entity.MagicDBEntity;
import org.amethyst.atlas.basic.meta.Column;
import org.amethyst.atlas.basic.meta.PrimaryKey;
import org.amethyst.atlas.basic.meta.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * system user entity
 * Created by KGL on 2015/8/13.
 */
@Table(tableName = "system_user")
@Data
public class SystemUserEntity extends MagicDBEntity<SystemUserEntity> implements Serializable {

    private static final long serialVersionUID = -1080216920373274604L;
    @PrimaryKey
    private long userId;
    @Column
    private String userCode;
    @Column
    private String userName;
    @Column
    private String userPassword;
    @Column
    private Integer userStatus;
    @Column
    private Integer defaultPassword;
    @Column
    private Integer userType;
    @Column
    private String creatorName;
    @Column
    private Date createTime;
    @Column
    private String modifier;
    @Column
    private Date modifyTime;
}
